package com.itbaizhan.springsecuritydemo1.Contorller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class pageContorller {
    
    @RequestMapping("/{page}")
    public String showpage (@PathVariable String page){
        return page;
    }
}
